<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>芯佑电商_确认信息_付款方式</title>
    <#include "/website/commonWebsite.html">
</head>
<body>

<!--==头部==-->
<div class="header">
    <#include "/website/header.html">
</div>

<!--==内容区域==-->
<div class="home_n">
    <div  class="home_nr">
        <!--==支付方式==-->
        <div class="audio_payment_nr">
            <div class="audio_payment_nr_bt">
                <dl>
                    <dt>选择支付方式</dt>
                    <!--<dd>订单号：9939399339493939439dfdkfdkfj</dd>-->
                </dl>
                <!--<p>剩余付款时间：<strong>29分51秒</strong></p>-->
            </div>

            <div class="audio_payment_nr_li">
                <input type="hidden" id="productPks" value="${productPks}">
                <input type="hidden" id="address" value="${address}">
                <h1>支付方式</h1>
                <dl>
                    <dt><label><input type="radio" name="pay" checked="checked" value="aliPay"/><img src="/website/images/payment_02.png"/></label></dt>
                    <dt><label><input type="radio" name="pay" value="weChatPay"/><img src="/website/images/payment_03.png"/></label></dt>
                </dl>
            </div>
            <!--==提交==-->
            <div class="shoinf-tj">
                <!--<div class="shoinf-tj-w">总金额：<strong>${allProductPrice}</strong></div>-->
                <div class="shoinf-tj-a"><button type="button" onclick="toPay()">立即付款</button></div>
            </div>
            <!--<div class="audio_payment_nr_er">
                <p><img src="/website/images/copyright_05.png"/></p>
                <span>应付金额：<strong>¥100.00</strong></span>
            </div>-->
        </div>
    </div>
</div>

<!--==版权==-->
<script type="text/javascript">
    function load_home() {
        document.getElementById("viewDiv").innerHTML = '';
    }
</script>
<object type="text/html" data="/website/copyright" width="100%" height="370px" style="margin-bottom: -5px;"></object>

<!--==返回头部==-->
<script type="text/javascript" src="/website/js/backtop.js"></script>

<!--==省市区==-->
<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script src="/website/js/address/area.js"></script>
<script src="/website/js/address/select.js"></script>

</body>
<script>
    function toPay(){
        var type = $("input[name='pay']:checked").val();
        if(type=="aliPay"){
            location.href="/aliPay/pay?shoppingCartPks=${productPks}&addressPk=${address}"+
                "&c6=${syOrderInfo.c6}&c5=${syOrderInfo.c5}&c7=${syOrderInfo.c7}&c8=${syOrderInfo.c8}" +
                "&c9=${syOrderInfo.c9}&c10=${syOrderInfo.c10}&orderRemark=${syOrderInfo.orderRemark}";
        }else if(type=="weChatPay"){
            layer.msg("暂未开通");
            return;
        }
    }
</script>
</html>